package com.qdaily.ui.ui.views.radar;

/**
 * 支持显示标题的值的实体对象
 */
public class TitleValueEntity {

    /**
     * 标题
     */
    private String title;

    /**
     * 值
     */
    private float value;

    /**
     * id
     */
    private int id;

    /**
     * TitleValueEntity类对象的构造函数
     *
     * @param title 标题
     * @param value 值
     */
    public TitleValueEntity(String title, float value, int id) {
        super();
        this.title = title;
        this.value = value;
        this.id = id;
    }

    /**
     * TitleValueEntity类对象的构造函数
     */
    public TitleValueEntity() {
        super();
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the value
     */
    public float getValue() {
        return value;
    }

    /**
     * @param value the value to set
     */
    public void setValue(float value) {
        this.value = value;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "TitleValueEntity{" +
                "title='" + title + '\'' +
                ", value=" + value +
                ", id=" + id +
                '}';
    }
}
